<h1>Criando notícia</h1>

<% form_for(@post) do |f| %>
  <%= render :partial => "form" , :locals => {:f => f } %>

	<p>
	  <%= f.submit "Criar" %>
	</p>

<% end %>

<%= link_to 'Voltar', posts_path %>
